package com.hmy.finance.service.receipt.rdto.offset;

import com.hmy.finance.api.common.enums.receipt.OffsetStatusEnum;
import lombok.Data;

import java.math.BigDecimal;

/**
 * Contract Daily Fee Bill Offset Result
 *
 * @author songkf
 */
@Data
public class OffsetContractDailyFeeBIllRdto implements java.io.Serializable {

    private static final long serialVersionUID = -6448250384078890543L;

    /**
     * contract offset record id
     */
    private Long contractOffsetRecordId;

    /**
     * contract offset actual offset amount
     */
    private BigDecimal actualOffsetAmount;

    /**
     * contract offset status
     */
    private OffsetStatusEnum offsetStatus;

    public static OffsetContractDailyFeeBIllRdto builder() {
        return new OffsetContractDailyFeeBIllRdto();
    }

    public OffsetContractDailyFeeBIllRdto contractOffsetRecordId(Long contractOffsetRecordId) {
        this.contractOffsetRecordId = contractOffsetRecordId;
        return this;
    }

    public OffsetContractDailyFeeBIllRdto actualOffsetAmount(BigDecimal actualOffsetAmount) {
        this.actualOffsetAmount = actualOffsetAmount;
        return this;
    }

    public OffsetContractDailyFeeBIllRdto offsetStatus(OffsetStatusEnum offsetStatus) {
        this.offsetStatus = offsetStatus;
        return this;
    }
}
